<div class="user_body01" style="background-color:#FFFFFF;top:0px;"
     flow-init
     flow-object="photoFlow"
     flow-file-added="!!{png:1,gif:1,jpg:1,jpeg:1}[$file.getExtension()]"
     flow-file-success="uploadSuccess($file, $message)"
     flow-complete="uploadComplete()" ng-show="visitedUserIsSameAsCurrentUser()">
    <div class="user_body01" style="background-color:#FFF;top:0px;">
        <div class="pic_div" style="font-size:16px;font-weight:bold;"> 上传照片</div>
        <div class="pic_div" style="font-size:14px;margin-top:10px;"> 上传至：
            <!--<select ng-model="newPhoto.albumId" ng-options="a.name for a in albums track by a._id">
            </select>-->
            <select ng-model="newPhoto.album" ng-options="a.name for a in albums"></select>
            <a href="" style="margin-left: 20px;" ng-click="uploadStart()" ng-show="$flow.files.length">确认上传</a>
        </div>

        <div class="pics_divaddtitle"> 支持jpg/gif/png/jpeg格式，单张不超过20M,单次上传最多支持10张</div>

        <div class="pics_divadd">
            <div class="thumbnail" ng-show="$flow.files.length" ng-repeat="file in $flow.files">
                <img flow-img="file"/>
            </div>

            <div class="pics_divaddad" style="margin-top: 350px;">
                <div class="opac file_button">
                    <form>
                        <input type="file" name="upload" accept="file" id="uploadPhoto"
                               flow-btn
                               flow-attrs="{accept:'image/*'}">
                    </form>
                </div>
                选择照片
            </div>
        </div>
    </div>
</div>